from ..utils.common import Vec3

BILIBILI_PINK = Vec3(1, 0.44140625, 0.62109375)
BILIBILI_BLUE_A = Vec3(0.41796875, 0.7578125, 0.92578125)
BILIBILI_BLUE = Vec3(0.00390625, 0.640625, 0.93359375)
DARK_BLUE = Vec3(0.140625, 0.421875, 0.55859375)
DARK_BROWN = Vec3(0.546875, 0.2734375, 0.078125)
LIGHT_BROWN = Vec3(0.8046875, 0.5234375, 0.25)
BLUE_E = Vec3(0.11328125, 0.4609375, 0.54296875)
BLUE_D = Vec3(0.1640625, 0.671875, 0.79296875)
BLUE_C = Vec3(0.34765625, 0.76953125, 0.8671875)
BLUE_B = Vec3(0.61328125, 0.86328125, 0.921875)
BLUE_A = Vec3(0.78125, 0.9140625, 0.9453125)
TEAL_E = Vec3(0.2890625, 0.66015625, 0.5625)
TEAL_D = Vec3(0.3359375, 0.7578125, 0.65625)
TEAL_C = Vec3(0.36328125, 0.81640625, 0.703125)
TEAL_B = Vec3(0.46484375, 0.8671875, 0.75390625)
TEAL_A = Vec3(0.67578125, 0.91796875, 0.84375)
GREEN_E = Vec3(0.4140625, 0.61328125, 0.32421875)
GREEN_D = Vec3(0.46875, 0.69140625, 0.3671875)
GREEN_C = Vec3(0.515625, 0.7578125, 0.40625)
GREEN_B = Vec3(0.65234375, 0.8125, 0.55078125)
GREEN_A = Vec3(0.7890625, 0.88671875, 0.68359375)
YELLOW_E = Vec3(0.91015625, 0.7578125, 0.11328125)
YELLOW_D = Vec3(0.95703125, 0.828125, 0.2734375)
YELLOW_C = Vec3(1, 1, 0.00390625)
YELLOW_B = Vec3(1, 0.91796875, 0.58203125)
YELLOW_A = Vec3(1, 0.9453125, 0.71484375)
GOLD_E = Vec3(0.78125, 0.5546875, 0.27734375)
GOLD_D = Vec3(0.8828125, 0.6328125, 0.34765625)
GOLD_C = Vec3(0.94140625, 0.67578125, 0.375)
GOLD_B = Vec3(0.9765625, 0.71875, 0.4609375)
GOLD_A = Vec3(0.96875, 0.78125, 0.59375)
RED_E = Vec3(0.8125, 0.31640625, 0.26953125)
RED_D = Vec3(0.90234375, 0.35546875, 0.30078125)
RED_C = Vec3(0.98828125, 0.38671875, 0.3359375)
RED_B = Vec3(1, 0.50390625, 0.50390625)
RED_A = Vec3(0.96875, 0.6328125, 0.640625)
MAROON_E = Vec3(0.58203125, 0.26171875, 0.3125)
MAROON_D = Vec3(0.63671875, 0.3046875, 0.3828125)
MAROON_C = Vec3(0.7734375, 0.375, 0.453125)
MAROON_B = Vec3(0.92578125, 0.57421875, 0.671875)
MAROON_A = Vec3(0.92578125, 0.671875, 0.7578125)
PURPLE_E = Vec3(0.39453125, 0.2578125, 0.44921875)
PURPLE_D = Vec3(0.4453125, 0.3359375, 0.51171875)
PURPLE_C = Vec3(0.60546875, 0.44921875, 0.67578125)
PURPLE_B = Vec3(0.6953125, 0.5390625, 0.77734375)
PURPLE_A = Vec3(0.79296875, 0.640625, 0.91015625)
WHITE = Vec3(1, 1, 1)
BLACK = Vec3(0.00390625, 0.00390625, 0.00390625)
LIGHT_GRAY = LIGHT_GREY = Vec3(0.734375, 0.734375, 0.734375)
GRAY = GREY = Vec3(0.53515625, 0.53515625, 0.53515625)
DARK_GRAY = DARK_GREY = Vec3(0.26953125, 0.26953125, 0.26953125)
DARKER_GRAY = DARKER_GREY = Vec3(0.13671875, 0.13671875, 0.13671875)
GREY_BROWN = Vec3(0.453125, 0.390625, 0.34375)
PINK = Vec3(0.8203125, 0.28125, 0.7421875)
LIGHT_PINK = Vec3(0.86328125, 0.4609375, 0.8046875)
GREEN_SCREEN = Vec3(0.00390625, 1, 0.00390625)
ORANGE = Vec3(1, 0.52734375, 0.1875)

MetalIron = Vec3(0.560, 0.570, 0.580)  # 铁
MetalSilver = Vec3(0.972, 0.960, 0.915)  # 银
MetalAluminum = Vec3(0.913, 0.921, 0.925)  # 铝
MetalGold = Vec3(1.000, 0.766, 0.336)  # 金
MetalCopper = Vec3(0.955, 0.637, 0.538)  # 铜
MetalChromium = Vec3(0.550, 0.556, 0.554)  # 铬
MetalNickel = Vec3(0.660, 0.609, 0.526)  # 镍
MetalTitanium = Vec3(0.542, 0.497, 0.449)  # 钛
MetalCobalt = Vec3(0.662, 0.655, 0.634)  # 钴
MetalPlatinum = Vec3(0.672, 0.637, 0.585)  # 铂

# 材料            F0 (线性)            F0 (sRGB) frequent
# 水              0.02, 0.02, 0.02    0.15, 0.15, 0.15
# 塑料/玻璃（低）   0.03, 0.03, 0.03    0.21, 0.21, 0.21
# 塑料（高）       0.05, 0.05, 0.05    0.24, 0.24, 0.24
# 玻璃（高）/红宝石 0.08, 0.08, 0.08    0.31, 0.31, 0.31
# 钻石            0.17, 0.17, 0.17    0.45, 0.45, 0.45
# 铁              0.56, 0.57, 0.58    0.77, 0.78, 0.78
# 铜              0.95, 0.64, 0.54    0.98, 0.82, 0.76
# 金              1.00, 0.71, 0.29    1.00, 0.86, 0.57
# 铝              0.91, 0.92, 0.92    0.96, 0.96, 0.97
# 银              0.95, 0.93, 0.88    0.98, 0.97, 0.95
